package server;

import java.io.Serializable;

import smash_tris.Grid;
import smash_tris.TetrisPiece;




public class StateOfGame implements Serializable {

	Grid grid = null;
	TetrisPiece piece = null;
	Integer px = null;
	Integer py = null;
	
	public StateOfGame(TetrisPiece piece, Grid grid, Integer px, Integer py) {
		this.grid = grid;
		this.piece = piece;
		this.px = px;
		this.py = py;
	}
	
	public Grid getGrid() {
		return grid;
	}
	
	
	public TetrisPiece getPiece() {
		return piece;
	}
	
	public Integer getPx() {
		return px;
	}
	
	public Integer getPy() {
		return py;
	}
	
}
